<div data-hook="admin_image_form_fields" class="row">
  <div class="col-12 col-md-6">
    <div data-hook="file" class="form-group">
      <%= f.label :attachment, Spree.t(:filename) %>
      <%= f.file_field :attachment %>
    </div>
    <div data-hook="variant" class="form-group">
      <%= f.label :viewable_id, Spree::Variant.model_name.human %>
      <%= f.select :viewable_id, @variants, {}, {class: 'select2'} %>
    </div>
  </div>
  <div data-hook="alt_text" class="col-12 col-md-6">
    <div class="form-group">
      <%= f.label :alt, Spree.t(:alt_text) %>
      <%= f.text_area :alt, rows: 4, class: 'form-control' %>
    </div>
  </div>
</div>
